//
//  TransitionPushObj.h
//  TransitionAnimation
//
//  Created by tgs on 2017/6/28.
//  Copyright © 2017年 tgs. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, NaviOneTransitionType) {
    NaviOneTransitionTypePush = 0,
    NaviOneTransitionTypePop
};

@interface TransitionPushObj : NSObject<UIViewControllerAnimatedTransitioning>

/**
 *  初始化动画过渡代理
 */
+ (instancetype)transitionWithType:(NaviOneTransitionType)type;
- (instancetype)initWithTransitionType:(NaviOneTransitionType)type;

@end
